<template>
  <div class="checkButton" :class="{checked: isChecked}">
    <img src="../../../assets/img/cart/tick.svg" alt="" >
  </div>
</template>

<script>
export default {
  name: "CheckButton",
  props: {
    isChecked: {
      type: Boolean,
      default() {
        return false
      }
    }
  }
}
</script>

<style scoped>
  .checkButton {
    border-radius: 50%;
    border: 2px solid #aaa;
  }

  .checked {
    background-color: #ff5777;
    border-color: #ff5777;
  }
</style>
